package cn.tedu.personnel.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class UserParam {
    @ApiModelProperty("员工id")
    Long userId;
    @ApiModelProperty("姓名")
    String name;
    @ApiModelProperty("部门")
    String department;
    @ApiModelProperty("职务")
    String level;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("入职时间")
    Date entryTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("转正时间")
    Date regularTime;
    @ApiModelProperty("备注")
    String remark;

    @ApiModelProperty("调岗后部门")
    String departmentAfterTransfer;
    @ApiModelProperty("调岗后职务")
    String levelUp;
    @ApiModelProperty("申请调岗时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date departmentTransferTime;
    @ApiModelProperty("预计调岗时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date expectedDepartmentTransferTime;
    @ApiModelProperty("申请离职时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date resignationApplicationDate;
    @ApiModelProperty("预计离职时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date expectedResignationDate;
    @ApiModelProperty(value = "离职原因")
    private String resignationReason;
    @ApiModelProperty(value = "流程类型")
    private String type;
    @ApiModelProperty(value = "状态")
    private String reviewStatus;
}
